package com.huawei.appgallery.agwebview.delegate;

import android.content.Context;
import android.widget.RelativeLayout;
import android.widget.RelativeLayout.LayoutParams;
import com.huawei.appgallery.agwebview.api.delegate.GeneralWebViewDelegate;
import com.huawei.appgallery.agwebview.api.ui.IWebViewActivityProtocol;

import o.azh;
import o.Logger;
import o.epv;

public class FragmentWebViewDelegate extends GeneralWebViewDelegate {
    public void ˏ(Context context, IWebViewActivityProtocol iWebViewActivityProtocol) {
        super.ˏ(context, iWebViewActivityProtocol);
        ˌ();
        epv.ˋ(context, this.ᐝ.findViewById(a.ॱˊ));
    }

    protected void ˌ() {
        RelativeLayout relativeLayout = (RelativeLayout) this.ᐝ.findViewById(a.ͺ);
        LayoutParams layoutParams = (LayoutParams) relativeLayout.getLayoutParams();
        layoutParams.addRule(15);
        relativeLayout.setLayoutParams(layoutParams);
    }

    public void ˎ() {
        if (Logger.ˎ()) {
            azh.ˏ.ˋ("FragmentWebViewDelegate", "Override initTitle, but nothing to do");
        }
    }

    public void ˊ(String str) {
        if (Logger.ˎ()) {
            azh.ˏ.ˋ("FragmentWebViewDelegate", "Override setTitle, but nothing to do");
        }
    }

    public void ʻ(String str) {
        if (Logger.ˎ()) {
            azh.ˏ.ˋ("FragmentWebViewDelegate", "Override setControlMore, but nothing to do");
        }
    }

    public void ॱᐝ() {
        if (Logger.ˎ()) {
            azh.ˏ.ˋ("FragmentWebViewDelegate", "Override finishActivity, but nothing to do");
        }
    }

    public String ʾ() {
        return "FragmentWebViewDelegate";
    }
}
